/*
 * Copyright 2011 derek.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.aocore.item;

/**
 *
 * @author derek
 */
public class BaseArmor extends BaseItem
{
    private String name;
    private String version;
    private String compactsave;
    private String rarity;
    private String spawnable;
    private String minac;
    private String maxac;
    private String absorbs;
    private String speed;
    private String reqstr;
    private String block;
    private String durability;
    private String nodurability;
    private String level;
    private String levelreq;
    private String cost;
    private String gambleCost;
    //private String code;
    private String namestr;
    private String magicLvl;
    private String autoPrefix;
    private String alternategfx;
    private String openBetaGfx;
    private String normcode;
    private String ubercode;
    private String ultracode;
    private String spelloffset;
    private String component;
    private String invwidth;
    private String invheight;
    private String hasinv;
    private String gemsockets;
    private String gemapplytype;
    private String flippyfile;
    private String invfile;
    private String uniqueinvfile;
    private String setinvfile;
    private String rArm;
    private String lArm;
    private String torso;
    private String legs;
    private String rSPad;
    private String lSPad;
    private String useable;
    private String throwable;
    //private String stackable;
    private String minstack;
    private String maxstack;
    private String type;
    private String type2;
    private String dropsound;
    private String dropsfxframe;
    private String usesound;
    private String unique;
    private String transparent;
    private String transtbl;
    private String quivered;
    private String lightradius;
    private String belt;
    private String quest;
    private String missiletype;
    private String durwarning;
    private String qntwarning;
    private String mindam;
    private String maxdam;
    private String strBonus;
    private String dexBonus;
    private String gemoffset;
    private String bitfield1;
    private String charsiMin;
    private String charsiMax;
    private String charsiMagicMin;
    private String charsiMagicMax;
    private String charsiMagicLvl;
    private String gheedMin;
    private String gheedMax;
    private String gheedMagicMin;
    private String gheedMagicMax;
    private String gheedMagicLvl;
    private String akaraMin;
    private String akaraMax;
    private String akaraMagicMin;
    private String akaraMagicMax;
    private String akaraMagicLvl;
    private String faraMin;
    private String faraMax;
    private String faraMagicMin;
    private String faraMagicMax;
    private String faraMagicLvl;
    private String lysanderMin;
    private String lysanderMax;
    private String lysanderMagicMin;
    private String lysanderMagicMax;
    private String lysanderMagicLvl;
    private String drognanMin;
    private String drognanMax;
    private String drognanMagicMin;
    private String drognanMagicMax;
    private String drognanMagicLvl;
    private String hraltiMin;
    private String hraltiMax;
    private String hraltiMagicMin;
    private String hraltiMagicMax;
    private String hratliMagicLvl;
    private String alkorMin;
    private String alkorMax;
    private String alkorMagicMin;
    private String alkorMagicMax;
    private String alkorMagicLvl;
    private String ormusMin;
    private String ormusMax;
    private String ormusMagicMin;
    private String ormusMagicMax;
    private String ormusMagicLvl;
    private String elzixMin;
    private String elzixMax;
    private String elzixMagicMin;
    private String elzixMagicMax;
    private String elzixMagicLvl;
    private String ashearaMin;
    private String ashearaMax;
    private String ashearaMagicMin;
    private String ashearaMagicMax;
    private String ashearaMagicLvl;
    private String cainMin;
    private String cainMax;
    private String cainMagicMin;
    private String cainMagicMax;
    private String cainMagicLvl;
    private String halbuMin;
    private String halbuMax;
    private String halbuMagicMin;
    private String halbuMagicMax;
    private String halbuMagicLvl;
    private String jamellaMin;
    private String jamellaMax;
    private String jamellaMagicMin;
    private String jamellaMagicMax;
    private String jamellaMagicLvl;
    private String larzukMin;
    private String larzukMax;
    private String larzukMagicMin;
    private String larzukMagicMax;
    private String larzukMagicLvl;
    private String malahMin;
    private String malahMax;
    private String malahMagicMin;
    private String malahMagicMax;
    private String malahMagicLvl;
    private String drehyaMin;
    private String drehyaMax;
    private String drehyaMagicMin;
    private String drehyaMagicMax;
    private String drehyaMagicLvl;
    private String sourceArt;
    private String gameArt;
    private String transform;
    private String invTrans;
    private String skipName;
    private String nightmareUpgrade;
    private String hellUpgrade;
    private String mindam2;
    private String maxdam2;
    private String nameable;

    public BaseArmor(String line)
    {
        String[] s = line.split("\t");

        System.out.println(line);
        System.out.println(s.length);

        name = s[0];
        version = s[1];
        compactsave = s[2];
        rarity = s[3];
        spawnable = s[4];
        minac = s[5];
        maxac = s[6];
        absorbs = s[7];
        speed = s[8];
        reqstr = s[9];
        block = s[10];
        durability = s[11];
        nodurability = s[12];
        level = s[13];
        levelreq = s[14];
        cost = s[15];
        gambleCost = s[16];
        code = s[17];
        namestr = s[18];
        magicLvl = s[19];
        autoPrefix = s[20];
        alternategfx = s[21];
        openBetaGfx = s[22];
        normcode = s[23];
        ubercode = s[24];
        ultracode = s[25];
        spelloffset = s[26];
        component = s[27];
        invwidth = s[28];
        invheight = s[29];
        hasinv = s[30];
        gemsockets = s[31];
        gemapplytype = s[32];
        flippyfile = s[33];
        invfile = s[34];
        uniqueinvfile = s[35];
        setinvfile = s[36];
        rArm = s[37];
        lArm = s[38];
        torso = s[39];
        legs = s[40];
        rSPad = s[41];
        lSPad = s[42];
        useable = s[43];
        throwable = s[44];
        stackable = Integer.parseInt(s[45]) != 0;
        minstack = s[46];
        maxstack = s[47];
        type = s[48];
        type2 = s[49];
        dropsound = s[50];
        dropsfxframe = s[51];
        usesound = s[52];
        unique = s[53];
        transparent = s[54];
        transtbl = s[55];
        quivered = s[56];
        lightradius = s[57];
        belt = s[58];
        quest = s[59];
        missiletype = s[60];
        durwarning = s[61];
        qntwarning = s[62];
        mindam = s[63];
        maxdam = s[64];
        strBonus = s[65];
        dexBonus = s[66];
        gemoffset = s[67];
        bitfield1 = s[68];
        charsiMin = s[69];
        charsiMax = s[70];
        charsiMagicMin = s[71];
        charsiMagicMax = s[72];
        charsiMagicLvl = s[73];
        gheedMin = s[74];
        gheedMax = s[75];
        gheedMagicMin = s[76];
        gheedMagicMax = s[77];
        gheedMagicLvl = s[78];
        akaraMin = s[79];
        akaraMax = s[80];
        akaraMagicMin = s[81];
        akaraMagicMax = s[82];
        akaraMagicLvl = s[83];
        faraMin = s[84];
        faraMax = s[85];
        faraMagicMin = s[86];
        faraMagicMax = s[87];
        faraMagicLvl = s[88];
        lysanderMin = s[89];
        lysanderMax = s[90];
        lysanderMagicMin = s[91];
        lysanderMagicMax = s[92];
        lysanderMagicLvl = s[93];
        drognanMin = s[94];
        drognanMax = s[95];
        drognanMagicMin = s[96];
        drognanMagicMax = s[97];
        drognanMagicLvl = s[98];
        hraltiMin = s[99];
        hraltiMax = s[100];
        hraltiMagicMin = s[101];
        hraltiMagicMax = s[102];
        hratliMagicLvl = s[103];
        alkorMin = s[104];
        alkorMax = s[105];
        alkorMagicMin = s[106];
        alkorMagicMax = s[107];
        alkorMagicLvl = s[108];
        ormusMin = s[109];
        ormusMax = s[110];
        ormusMagicMin = s[111];
        ormusMagicMax = s[112];
        ormusMagicLvl = s[113];
        elzixMin = s[114];
        elzixMax = s[115];
        elzixMagicMin = s[116];
        elzixMagicMax = s[117];
        elzixMagicLvl = s[118];
        ashearaMin = s[119];
        ashearaMax = s[120];
        ashearaMagicMin = s[121];
        ashearaMagicMax = s[122];
        ashearaMagicLvl = s[123];
        cainMin = s[124];
        cainMax = s[125];
        cainMagicMin = s[126];
        cainMagicMax = s[127];
        cainMagicLvl = s[128];
        halbuMin = s[129];
        halbuMax = s[130];
        halbuMagicMin = s[131];
        halbuMagicMax = s[132];
        halbuMagicLvl = s[133];
        jamellaMin = s[134];
        jamellaMax = s[135];
        jamellaMagicMin = s[136];
        jamellaMagicMax = s[137];
        jamellaMagicLvl = s[138];
        larzukMin = s[139];
        larzukMax = s[140];
        larzukMagicMin = s[141];
        larzukMagicMax = s[142];
        larzukMagicLvl = s[143];
        malahMin = s[144];
        malahMax = s[145];
        malahMagicMin = s[146];
        malahMagicMax = s[147];
        malahMagicLvl = s[148];
        drehyaMin = s[149];
        drehyaMax = s[150];
        drehyaMagicMin = s[151];
        drehyaMagicMax = s[152];
        drehyaMagicLvl = s[153];
        sourceArt = s[154];
        gameArt = s[155];
        transform = s[156];
        invTrans = s[157];
        skipName = s[158];
        nightmareUpgrade = s[159];
        hellUpgrade = s[160];
        mindam2 = s[161];
        maxdam2 = s[162];
        nameable = s[163];
    }    
}
